#include <stdlib.h>

#include "net_bp.h"
#include "net_rbf.h"

int main()
{
    ann::net_bp net;

    net.LoadTRDataFromFile(L"traindata.txt");
    net.Train();

    printf("Result of (0, 0) is %f\n", net.SimS(0,0));
    printf("Result of (0, 1) is %f\n", net.SimS(0,1));
    printf("Result of (1, 0) is %f\n", net.SimS(1,0));
    printf("Result of (1, 1) is %f\n", net.SimS(1,1));


    system("pause");
    return 0;
}
